package com.mystudy.management.usermanagement.service;

import com.mystudy.management.usermanagement.dao.pojo.Visitor;

import java.util.Collection;
import java.util.List;

public interface IndexService {
    Collection<Visitor> selectAllVisitors();

    boolean messageCheck(Visitor visitor);

    List<Visitor> selectVisitorByExistCondition(Visitor visitor);

    boolean deleteVisitorById (Integer id);

    //修改操作
    boolean updateVisiterMessage(Visitor visitor);

    boolean addVisitor(Visitor visitor);


}
